import type { CategoryTopItem } from "@/types/category";
import { http } from "@/untils/request";

/**
 * 分类列表-小程序
 * @returns 
 */
export const getCategoryListAPI = () => {
    return http<CategoryTopItem[]>({
        url: '/category/top',
        method: 'GET'
    })
}